serializeWithKeyBinding

Serializes a SdJwt with a Key Binding JWT.

Receiver

the SD-JWT to be serialized

Return

the serialized SD-JWT including the generated Key Binding JWT

Parameters

hashAlgorithm

HashAlgorithm to be used for generating the SdJwtDigest that will be included in the generated Key Binding JWT


abstract suspend fun SdJwt<JWT>.serializeWithKeyBinding(buildKbJwt: BuildKbJwt): Result<String>(source)

Serializes a SdJwt with a Key Binding JWT.

Receiver

the SD-JWT to be serialized

Return

the serialized SD-JWT including the generated Key Binding JWT

Parameters

hashAlgorithm

HashAlgorithm to be used for generating the SdJwtDigest that will be included in the generated Key Binding JWT

buildKbJwt

a way to construct the Key binding JWT